package com.sn.author.domain.dto;

import com.sn.author.converter.OutputConverter;
import com.sn.author.domain.entity.DyAccount;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author xiaom
 * @Date 2020/10/9 14:16
 * @Version 1.0.0
 * @Description <>
 **/
@Data
@ApiModel("抖音账户出参")
public class DyAccountDTO implements OutputConverter<DyAccountDTO, DyAccount> {

    @ApiModelProperty("序号")
    private Long id;

    @ApiModelProperty("用户UID")
    private Long userId;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("用户头像")
    private String portrait;

    @ApiModelProperty("总粉丝数")
    private Long totalCount;

    @Override
    public void customConverter(DyAccountDTO dyAccountDTO, DyAccount dyAccount) {

    }
}
